<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>

<body>
	<div id="wrapper">
    	<div id="header">
            <div id="topnav">
            	<ul class="small-nav">
            		<li><a href="index.php?act=my_cart">Xem giỏ hàng</a></li>
                    <?php if(isset($_SESSION['_user'])):?>
                    <li><a href="index.php?act=logout">Logout</a></li>
                    <li><a href="#">Hi <?php echo $_SESSION['_user']['username'];?></a></li>
                    <li><a href="index.php?act=my_document">Tài liệu của tôi</a></li>
                    <?php else:?>
                    <li><a href="dangki.php">Đăng kí</a></li>
                    <li><a href="index.php?act=login">Đăng nhập</a></li>
                    <?php endif;?>
                    
                </ul><!-- End .small-nanv-->
            </div><!--end #topnav-->
             
            <div id="banner">
            	<img src="images/banner.png" alt="banner website" />
            </div><!--End #banner-->
      
            <div id="bannav">
              <ul class="mainnav">
           	    	<li><a href="index.php">Trang chủ</a></li>
            		<li><a href="index.php?act=list_docs">Tài liệu</a></li>
                    <li><a href="index.php?act=list_books">Sách hay</a></li>
                    <li><a href="#">Tài liệu media</a></li>
                    <li><a href="#">Tư vấn tiêu dùng</a></li>
                    
                    <a href="index.php?act=update_doc"><img src="images/download.jpg" /></a>
                    
                </ul>
            </div><!--End #bannav-->
            
        </div><!--#End header-->